<!---总览页面真实内容-->
<template>
  <div class="ele-body">
    <a-tabs default-active-key="1" @change="callbackActivityTab">
      <a-tab-pane key="1" tab="数据监控">
        <DeviceSpraycameraMonitor :data="data" />
      </a-tab-pane>
      <a-tab-pane key="2" tab="负载数据">
        <DeviceSpraycameraStateData :data="data" />
      </a-tab-pane>
      <a-tab-pane key="3" tab="wifi继电器">
        <DeviceSprayCameraWifirelay :data="data" />
      </a-tab-pane>
      <a-tab-pane key="4" tab="标注">
        <DeviceSpraycameraDrawing :data="data" />
      </a-tab-pane>
      <a-tab-pane key="5" tab="其他配置">
        <DeviceSpraycameraDomainImgConfig :data="data" />
      </a-tab-pane>
      <a-tab-pane key="6" tab="检测区域设置">
        <DeviceSpraycameraDrawDetectionmark :data="data" />
      </a-tab-pane>
      <a-tab-pane key="7" tab="喷淋规则设置">
        <DeviceSpraycameraSprayruleConfig :data="data" />
      </a-tab-pane>      
      <a-tab-pane key="8" tab="推送情况">
        <DeviceSpraycameraConfigQueue :data="data" />
      </a-tab-pane>
      <a-tab-pane key="9" tab="软件升级">
        <DeviceSpraycameraUpgrade :data="data" />
      </a-tab-pane>
      <a-tab-pane key="10" tab="喷淋规则变更记录">
        <DeviceSpraycameraSprayruleupdateLog :data="data" />
      </a-tab-pane>
      <a-tab-pane key="11" tab="升级记录">
        <DeviceSpraycameraSoftwareUpgradelog :data="data" />
      </a-tab-pane>
    </a-tabs>
  </div>
</template>

<script>
import DeviceSpraycameraMonitor from './spraycamera-monitor.vue'
import DeviceSpraycameraStateData from './spraycamera-state-data.vue'
import DeviceSprayCameraWifirelay from './spraycamera-wifirelay.vue'
import DeviceSpraycameraDrawing from './spraycamera-drawing.vue'
import DeviceSpraycameraDomainImgConfig from './spraycamera-domain-img-config.vue'
import DeviceSpraycameraConfigQueue from  './spraycamera-config-queue.vue'
import DeviceSpraycameraUpgrade from './spraycamera-upgrade.vue'
import DeviceSpraycameraSprayruleupdateLog from './spraycamera-sprayruleupdate-log.vue'
import DeviceSpraycameraSprayruleConfig from './spraycamera-sprayrule-config.vue'
import DeviceSpraycameraSoftwareUpgradelog from './spraycamera-software-upgradelog.vue'
import DeviceSpraycameraDrawDetectionmark from './spraycamera-draw-detectionmark.vue'
export default {
  name: 'DeviceSpraycamera',
  components: {
    DeviceSpraycameraMonitor,
    DeviceSpraycameraStateData,
    DeviceSprayCameraWifirelay,
    DeviceSpraycameraDrawing,
    DeviceSpraycameraDomainImgConfig,
    DeviceSpraycameraConfigQueue,
    DeviceSpraycameraUpgrade,
    DeviceSpraycameraSprayruleupdateLog,
    DeviceSpraycameraSprayruleConfig,
    DeviceSpraycameraSoftwareUpgradelog,
    DeviceSpraycameraDrawDetectionmark
  },
  props: {
    data: Object
  },
  data() {
    return {


    };
  },
  methods: {
    callbackActivityTab (index) {
      console.log(index)
    },
  }
};
</script>
